// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   QNA2B1.java

package org.quickserver.net.GB268753QNS.control;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.quickserver.net.model.GB268753QNS;
import org.quickserver.net.model.GBServerDataS;
import org.quickserver.net.server.ClientHandler;
import org.quickserver.util.data.dataProcessing;

public class SSB2
{

    public SSB2()
    {
    }

    public static void SSB2OBJ(ClientHandler handler, String strs[])
    {
        GBServerDataS ec = (GBServerDataS)handler.getClientData();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        int[] di = dataProcessing.henTo2(strs[3]);
        GB268753QNS GBQN = new GB268753QNS();
        GBQN.setType(2);
        GBQN.setSz1(di[7]);
        GBQN.setSz2(di[6]);
        GBQN.setSz3(di[5]);
        GBQN.setSz4(di[4]);
        GBQN.setId(ec.getUniqueCode());
        GBQN.setUniqueCode(ec.getUniqueCode());
        GBQN.setUploadTime(sdf.format(new Date()));
        ec.setGb268753qns(GBQN);
    }
}
